My development environment
nodejs v22
npm v10
Executing npm install keeps spinning and loading, installation is slow, completely unresponsive, constantly failing, but no direct error is reported,
The command line has no output. I don't know why or what's happening during installation.
Through the command npm install --verbose I can see debugging information,
Many modules inside are still downloading from registry.npm.taobao.org, but the HTTPS certificate for this domain name has expired,
Execute command to solve:npm cache clean --force
Clear previous installation cache,
Running npm install again finally succeeded. The issue of npm installation constantly getting stuck has finally been resolved.